
<!DOCTYPE HTML>
<html lang="" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>实验简介 · GitBook</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        
        
        
    
    
    <link rel="stylesheet" href="gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-chapter-fold/chapter-fold.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-katex/katex.min.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-alerts/style.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-emphasize/plugin.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-mermaid-gb3/mermaid/mermaid.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-codeblock-label/block.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-code/plugin.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-search-pro/search.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-click-reveal/click_reveal.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-expandable-chapters-interactive/expandable-chapters.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-search/search.css">
                
            
                
                <link rel="stylesheet" href="gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
        <link rel="stylesheet" href="styles/website.css">
        
    
        
    
        
    
        
    
        
    
        
    


    

        
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="docs/log.html" />
    
    

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="Type to search" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    

    

    
        
        
    
        <li class="chapter active" data-level="1.1" data-path="./">
            
                <a href="./">
            
                    
                    实验简介
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="docs/log.html">
            
                <a href="docs/log.html">
            
                    
                    更新日志
            
                </a>
            

            
        </li>
    

    
        
        <li class="header">零：前置准备</li>
        
        
    
        <li class="chapter " data-level="2.1" >
            
                <span>
            
                    
                    配环境、跑测试
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="2.1.1" data-path="docs/lab0/env.html">
            
                <a href="docs/lab0/env.html">
            
                    
                    环境配置
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.1.2" data-path="docs/lab0/testing.html">
            
                <a href="docs/lab0/testing.html">
            
                    
                    运行测试样例
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="2.1.3" data-path="docs/lab0/riscv.html">
            
                <a href="docs/lab0/riscv.html">
            
                    
                    RISC-V 的工具链使用
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

    
        
        <li class="header">第一个编译器</li>
        
        
    
        <li class="chapter " data-level="3.1" >
            
                <span>
            
                    
                    step1：仅一个 return 的 main 函数
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="3.1.1" data-path="docs/lab1/part1.html">
            
                <a href="docs/lab1/part1.html">
            
                    
                    从零开始的 lexer、parser 以及汇编生成
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.1.2" data-path="docs/lab1/part2.html">
            
                <a href="docs/lab1/part2.html">
            
                    
                    词法语法分析工具
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.1.3" data-path="docs/lab1/part3.html">
            
                <a href="docs/lab1/part3.html">
            
                    
                    使用中间码
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.1.4" >
            
                <span>
            
                    
                    其他
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="3.1.4.1" data-path="docs/lab1/antlr.html">
            
                <a href="docs/lab1/antlr.html">
            
                    
                    ANTLR 使用
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.1.4.2" data-path="docs/lab1/visitor.html">
            
                <a href="docs/lab1/visitor.html">
            
                    
                    Visitor 模式
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="3.1.4.3" data-path="docs/lab1/ir.html">
            
                <a href="docs/lab1/ir.html">
            
                    
                    IR 简明介绍
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="3.1.5" data-path="docs/lab1/spec.html">
            
                <a href="docs/lab1/spec.html">
            
                    
                    规范
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

    
        
        <li class="header">常量表达式</li>
        
        
    
        <li class="chapter " data-level="4.1" >
            
                <span>
            
                    
                    step2：一元操作
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="4.1.1" data-path="docs/lab2/intro.html">
            
                <a href="docs/lab2/intro.html">
            
                    
                    任务概述
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.1.2" data-path="docs/lab2/guide.html">
            
                <a href="docs/lab2/guide.html">
            
                    
                    实验指导
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.1.3" data-path="docs/lab2/spec.html">
            
                <a href="docs/lab2/spec.html">
            
                    
                    规范
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="4.2" >
            
                <span>
            
                    
                    step3：加减乘除模
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="4.2.1" data-path="docs/lab3/intro.html">
            
                <a href="docs/lab3/intro.html">
            
                    
                    任务概述
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.2.2" data-path="docs/lab3/guide.html">
            
                <a href="docs/lab3/guide.html">
            
                    
                    实验指导
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.2.3" data-path="docs/lab3/spec.html">
            
                <a href="docs/lab3/spec.html">
            
                    
                    规范
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="4.3" >
            
                <span>
            
                    
                    step4：比较和逻辑表达式
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="4.3.1" data-path="docs/lab4/intro.html">
            
                <a href="docs/lab4/intro.html">
            
                    
                    任务概述
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.3.2" data-path="docs/lab4/guide.html">
            
                <a href="docs/lab4/guide.html">
            
                    
                    实验指导
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="4.3.3" data-path="docs/lab4/spec.html">
            
                <a href="docs/lab4/spec.html">
            
                    
                    规范
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

    
        
        <li class="header">变量和语句</li>
        
        
    
        <li class="chapter " data-level="5.1" >
            
                <span>
            
                    
                    step5：局部变量和赋值
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="5.1.1" data-path="docs/lab5/intro.html">
            
                <a href="docs/lab5/intro.html">
            
                    
                    任务概述
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="5.1.2" data-path="docs/lab5/guide.html">
            
                <a href="docs/lab5/guide.html">
            
                    
                    实验指导
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="5.1.3" >
            
                <span>
            
                    
                    其他
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="5.1.3.1" data-path="docs/lab5/stackframe.html">
            
                <a href="docs/lab5/stackframe.html">
            
                    
                    栈帧
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="5.1.4" data-path="docs/lab5/spec.html">
            
                <a href="docs/lab5/spec.html">
            
                    
                    规范
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="5.2" >
            
                <span>
            
                    
                    step6：if 语句和条件表达式
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="5.2.1" data-path="docs/lab6/intro.html">
            
                <a href="docs/lab6/intro.html">
            
                    
                    任务概述
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="5.2.2" data-path="docs/lab6/guide.html">
            
                <a href="docs/lab6/guide.html">
            
                    
                    实验指导
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="5.2.3" data-path="docs/lab6/spec.html">
            
                <a href="docs/lab6/spec.html">
            
                    
                    规范
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

    
        
        <li class="header">块语句和作用域和更多语句</li>
        
        
    
        <li class="chapter " data-level="6.1" >
            
                <span>
            
                    
                    step7：作用域和块语句
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="6.1.1" data-path="docs/lab7/intro.html">
            
                <a href="docs/lab7/intro.html">
            
                    
                    任务概述
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="6.1.2" data-path="docs/lab7/guide.html">
            
                <a href="docs/lab7/guide.html">
            
                    
                    实验指导
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="6.1.3" data-path="docs/lab7/spec.html">
            
                <a href="docs/lab7/spec.html">
            
                    
                    规范
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="6.2" >
            
                <span>
            
                    
                    step8：循环语句
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="6.2.1" data-path="docs/lab8/intro.html">
            
                <a href="docs/lab8/intro.html">
            
                    
                    任务概述
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="6.2.2" data-path="docs/lab8/guide.html">
            
                <a href="docs/lab8/guide.html">
            
                    
                    实验指导
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="6.2.3" data-path="docs/lab8/spec.html">
            
                <a href="docs/lab8/spec.html">
            
                    
                    规范
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

    
        
        <li class="header">函数和全局变量</li>
        
        
    
        <li class="chapter " data-level="7.1" >
            
                <span>
            
                    
                    step9：函数
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="7.1.1" data-path="docs/lab9/intro.html">
            
                <a href="docs/lab9/intro.html">
            
                    
                    任务概述
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="7.1.2" data-path="docs/lab9/guide.html">
            
                <a href="docs/lab9/guide.html">
            
                    
                    实验指导
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="7.1.3" >
            
                <span>
            
                    
                    其他
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="7.1.3.1" data-path="docs/lab9/calling.html">
            
                <a href="docs/lab9/calling.html">
            
                    
                    函数调用
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="7.1.4" data-path="docs/lab9/spec.html">
            
                <a href="docs/lab9/spec.html">
            
                    
                    规范
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="7.2" >
            
                <span>
            
                    
                    step10：全局变量
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="7.2.1" data-path="docs/lab10/part0-intro.html">
            
                <a href="docs/lab10/part0-intro.html">
            
                    
                    摘要
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="7.2.2" data-path="docs/lab10/part1-parser.html">
            
                <a href="docs/lab10/part1-parser.html">
            
                    
                    词法语法分析
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="7.2.3" data-path="docs/lab10/part1-1-task.html">
            
                <a href="docs/lab10/part1-1-task.html">
            
                    
                    任务
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="7.2.4" data-path="docs/lab10/part4-codegen.html">
            
                <a href="docs/lab10/part4-codegen.html">
            
                    
                    代码生成
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="7.2.5" data-path="docs/lab10/part4-1-task.html">
            
                <a href="docs/lab10/part4-1-task.html">
            
                    
                    任务
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="7.2.6" data-path="docs/lab10/summary.html">
            
                <a href="docs/lab10/summary.html">
            
                    
                    小结
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="7.2.7" data-path="docs/lab10/spec.html">
            
                <a href="docs/lab10/spec.html">
            
                    
                    规范
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

    
        
        <li class="header">指针和数组</li>
        
        
    
        <li class="chapter " data-level="8.1" >
            
                <span>
            
                    
                    step11：指针
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="8.1.1" data-path="docs/lab11/part0-intro.html">
            
                <a href="docs/lab11/part0-intro.html">
            
                    
                    摘要
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="8.1.2" data-path="docs/lab11/typeck.html">
            
                <a href="docs/lab11/typeck.html">
            
                    
                    类型检查
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="8.1.3" data-path="docs/lab11/part4-codegen.html">
            
                <a href="docs/lab11/part4-codegen.html">
            
                    
                    代码生成
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="8.1.4" data-path="docs/lab11/part4-1-task.html">
            
                <a href="docs/lab11/part4-1-task.html">
            
                    
                    任务
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="8.1.5" data-path="docs/lab11/summary.html">
            
                <a href="docs/lab11/summary.html">
            
                    
                    小结
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="8.1.6" data-path="docs/lab11/spec.html">
            
                <a href="docs/lab11/spec.html">
            
                    
                    规范
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="8.2" >
            
                <span>
            
                    
                    step12：数组
            
                </span>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="8.2.1" data-path="docs/lab12/part0-intro.html">
            
                <a href="docs/lab12/part0-intro.html">
            
                    
                    摘要
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="8.2.2" data-path="docs/lab12/part4-codegen.html">
            
                <a href="docs/lab12/part4-codegen.html">
            
                    
                    代码生成
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="8.2.3" data-path="docs/lab12/part4-1-task.html">
            
                <a href="docs/lab12/part4-1-task.html">
            
                    
                    任务
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="8.2.4" data-path="docs/lab12/summary.html">
            
                <a href="docs/lab12/summary.html">
            
                    
                    小结
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="8.2.5" data-path="docs/lab12/spec.html">
            
                <a href="docs/lab12/spec.html">
            
                    
                    规范
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

    
        
        <li class="header">参考资料</li>
        
        
    
        <li class="chapter " data-level="9.1" data-path="REFERENCE.html">
            
                <a href="REFERENCE.html">
            
                    
                    参考资料
            
                </a>
            

            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            Published with GitBook
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href="." >实验简介</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <h1 id="minidecaf-&#x7F16;&#x8BD1;&#x5B9E;&#x9A8C;">MiniDecaf &#x7F16;&#x8BD1;&#x5B9E;&#x9A8C;</h1>
<h2 id="&#x5B9E;&#x9A8C;&#x6982;&#x8FF0;">&#x5B9E;&#x9A8C;&#x6982;&#x8FF0;</h2>
<p>MiniDecaf <sup><a href="#fn_1" id="reffn_1">1</a></sup> &#x662F;&#x4E00;&#x4E2A; C &#x7684;&#x5B50;&#x96C6;&#xFF0C;&#x53BB;&#x6389;&#x4E86;&#x5982; include/define/&#x591A;&#x6587;&#x4EF6;/struct &#x7B49;&#x7279;&#x6027;&#x3002;
&#x8FD9;&#x5B66;&#x671F;&#x7684;&#x7F16;&#x8BD1;&#x5B9E;&#x9A8C;&#x8981;&#x6C42;&#x540C;&#x5B66;&#x901A;&#x8FC7;&#x591A;&#x6B21;&#x201C;&#x601D;&#x8003;-&#x5B9E;&#x73B0;-&#x91CD;&#x65B0;&#x8BBE;&#x8BA1;&#x201D;&#x4ECE;&#x7B80;&#x5355;&#x5230;&#x76F8;&#x5BF9;&#x590D;&#x6742;&#x7684;Minidecaf&#x8BED;&#x8A00;&#x7684;&#x5B8C;&#x6574;&#x7F16;&#x8BD1;&#x5668;&#xFF0C;
&#x80FD;&#x591F;&#x628A; MiniDecaf &#x4EE3;&#x7801;&#x7F16;&#x8BD1;&#x5230; RISC-V &#x6C47;&#x7F16;&#x3002;
&#x4ECE;&#x800C;&#x80FD;&#x591F;&#x7406;&#x89E3;&#x5E76;&#x89E3;&#x51B3;&#x7F16;&#x8BD1;&#x771F;&#x5B9E;&#x7684;&#x7A0B;&#x5E8F;&#x8BBE;&#x8BA1;&#x8BED;&#x8A00;&#x65F6;&#x9047;&#x5230;&#x7684;&#x95EE;&#x9898;&#xFF0C;&#x5E76;&#x80FD;&#x4E0E;&#x7F16;&#x8BD1;&#x7684;&#x539F;&#x7406;&#x8FDB;&#x884C;&#x5BF9;&#x7167;&#x3002;</p>
<p>&#x4E0B;&#x9762;&#x662F; MiniDecaf &#x7684;&#x5FEB;&#x901F;&#x6392;&#x5E8F;&#xFF0C;&#x548C; C &#x662F;&#x4E00;&#x6837;&#x7684;</p>
<pre><code class="lang-c"><span class="hljs-function"><span class="hljs-keyword">int</span> <span class="hljs-title">qsort</span><span class="hljs-params">(<span class="hljs-keyword">int</span> *a, <span class="hljs-keyword">int</span> l, <span class="hljs-keyword">int</span> r)</span> </span>{
    <span class="hljs-keyword">int</span> i = l; <span class="hljs-keyword">int</span> j = r; <span class="hljs-keyword">int</span> p = a[(l+r)/<span class="hljs-number">2</span>];
    <span class="hljs-keyword">while</span> (i &lt;= j) {
        <span class="hljs-keyword">while</span> (a[i] &lt; p) i = i + <span class="hljs-number">1</span>;
        <span class="hljs-keyword">while</span> (a[j] &gt; p) j = j - <span class="hljs-number">1</span>;
        <span class="hljs-keyword">if</span> (i &gt; j) <span class="hljs-keyword">break</span>;
        <span class="hljs-keyword">int</span> u = a[i]; a[i] = a[j]; a[j] = u;
        i = i + <span class="hljs-number">1</span>;
        j = j - <span class="hljs-number">1</span>;
    }
    <span class="hljs-keyword">if</span> (i &lt; r) qsort(a, i, r);
    <span class="hljs-keyword">if</span> (j &gt; l) qsort(a, l, j);
}
</code></pre>
<p>&#x5982;&#x76EE;&#x5F55;&#x6240;&#x793A;&#xFF0C;MiniDecaf &#x5B9E;&#x9A8C;&#x5206;&#x4E3A;&#x516D;&#x5927;&#x9636;&#x6BB5;&#xFF0C;&#x7531;&#x5341;&#x4E8C;&#x4E2A;&#x5C0F;&#x6B65;&#x9AA4;&#x7EC4;&#x6210;&#x3002;
&#x6BCF;&#x4E2A;&#x6B65;&#x9AA4;&#xFF0C;&#x4F60;&#x7684;&#x4EFB;&#x52A1;&#x90FD;&#x662F;&#x628A; MiniDecaf &#x7A0B;&#x5E8F;&#x7F16;&#x8BD1;&#x5230; RISC-V &#x6C47;&#x7F16;&#xFF0C;&#x5E76;&#x80FD;&#x5728;QEMU&#x786C;&#x4EF6;&#x6A21;&#x62DF;&#x5668;&#x4E0A;&#x8FD0;&#x884C;&#x3002;
<strong>&#x6BCF;&#x6B65;&#x505A;&#x5B8C;&#x4EE5;&#x540E;&#xFF0C;&#x4F60;&#x90FD;&#x6709;&#x4E00;&#x4E2A;&#x5B8C;&#x6574;&#x80FD;&#x8FD0;&#x884C;&#x7684;&#x7F16;&#x8BD1;&#x5668;&#x3002;</strong>
&#x968F;&#x7740;&#x5B9E;&#x9A8C;&#x4E00;&#x6B65;&#x4E00;&#x6B65;&#x8FDB;&#x884C;&#xFF0C;MiniDecaf &#x8BED;&#x8A00;&#x4F1A;&#x4ECE;&#x7B80;&#x5355;&#x53D8;&#x590D;&#x6742;&#xFF0C;&#x6BCF;&#x6B65;&#x90FD;&#x4F1A;&#x589E;&#x52A0;&#x90E8;&#x5206;&#x7684;&#x8BED;&#x8A00;&#x7279;&#x6027;&#x3002;</p>
<blockquote>
<ul>
<li>&#x5B9E;&#x9A8C;&#x7684;&#x5173;&#x952E;&#x76EE;&#x6807;&#x662F;&#x7406;&#x89E3;&#x548C;&#x638C;&#x63E1;&#x7F16;&#x8BD1;&#x5668;&#x7684;&#x8BBE;&#x8BA1;&#x4E0E;&#x5B9E;&#x73B0;&#x65B9;&#x6CD5;&#xFF0C;&#x5E76;&#x80FD;&#x4E0E;&#x7F16;&#x8BD1;&#x539F;&#x7406;&#x8BFE;&#x7A0B;&#x7684;&#x77E5;&#x8BC6;&#x4E92;&#x8865;&#x4E0E;&#x76F8;&#x4E92;&#x5370;&#x8BC1;&#x3002;</li>
<li>&#x6211;&#x4EEC;&#x63D0;&#x4F9B;&#x4E00;&#x7CFB;&#x5217;&#x7684;&#x53C2;&#x8003;&#x5B9E;&#x73B0;&#xFF0C;&#x5305;&#x542B; Python/Rust/Java/C++ &#x7684;&#x3002;</li>
<li>&#x540C;&#x5B66;&#x9047;&#x5230;&#x56F0;&#x96BE;&#x53EF;&#x4EE5;&#x5206;&#x6790;&#x4E86;&#x89E3;&#x53C2;&#x8003;&#x5B9E;&#x73B0;&#x3001;&#x4E5F;&#x53EF;&#x4EE5;&#x590D;&#x7528;&#x4ED6;&#x4EEC;&#x7684;&#x4EE3;&#x7801;&#x3002;&#x4E0D;&#x8BBA;&#x540C;&#x5B66;&#x91C7;&#x7528;&#x90A3;&#x79CD;&#x65B9;&#x5F0F;&#xFF0C;&#x90FD;&#x5E0C;&#x671B;&#x80FD;&#x8FBE;&#x5230;&#x5B9E;&#x9A8C;&#x76EE;&#x6807;&#x3002;</li>
<li>&#x7F16;&#x8BD1;&#x5668;&#x8FB9;&#x8FB9;&#x89D2;&#x89D2;&#x7684;&#x60C5;&#x51B5;&#x5F88;&#x591A;&#xFF0C;&#x6240;&#x4EE5;&#x4F60;&#x7684;&#x5B9E;&#x73B0;&#x53EA;&#x8981;&#x901A;&#x8FC7;&#x6211;&#x4EEC;&#x7684;&#x6D4B;&#x4F8B;&#x5C31;&#x89C6;&#x4E3A;&#x6B63;&#x786E;&#x3002;</li>
</ul>
</blockquote>
<h2 id="&#x5B9E;&#x9A8C;&#x63D0;&#x4EA4;">&#x5B9E;&#x9A8C;&#x63D0;&#x4EA4;</h2>
<p>&#x4F60;&#x9700;&#x8981;&#x4F7F;&#x7528; <strong>git</strong> &#x5BF9;&#x4F60;&#x7684;&#x5B9E;&#x9A8C;&#x505A;&#x7248;&#x672C;&#x7EF4;&#x62A4;&#xFF0C;&#x7136;&#x540E;&#x63D0;&#x4EA4;&#x5230; <strong>git.tsinghua.edu.cn</strong>&#x3002;
&#x5927;&#x5BB6;&#x5728;&#x7F51;&#x7EDC;&#x5B66;&#x5802;&#x63D0;&#x4EA4;&#x5E10;&#x53F7;&#x540D;&#x540E;&#xFF0C;&#x52A9;&#x6559;&#x7ED9;&#x6BCF;&#x4E2A;&#x4EBA;&#x4F1A;&#x5EFA;&#x7ACB;&#x4E00;&#x4E2A;&#x79C1;&#x6709;&#x7684;&#x4ED3;&#x5E93;&#xFF0C;&#x4F5C;&#x4E1A;&#x63D0;&#x4EA4;&#x5230;&#x90A3;&#x4E2A;&#x4ED3;&#x5E93;&#x5373;&#x53EF;&#x3002;
&#x5173;&#x4E8E; git &#x4F7F;&#x7528;&#xFF0C;&#x5927;&#x5BB6;&#x4E5F;&#x53EF;&#x4EE5;&#x5728;&#x7F51;&#x4E0A;&#x67E5;&#x627E;&#x8D44;&#x6599;&#x3002;</p>
<p>&#x6BCF;&#x6B21;&#x9664;&#x4E86;&#x5B9E;&#x9A8C;&#x4EE3;&#x7801;&#xFF0C;&#x4F60;&#x8FD8;&#x9700;&#x8981;&#x63D0;&#x4EA4; <strong>&#x5B9E;&#x9A8C;&#x62A5;&#x544A;</strong>&#xFF0C;&#x5176;&#x4E2D;&#x5305;&#x62EC;</p>
<ul>
<li>&#x6307;&#x5BFC;&#x4E66;&#x91CC;&#x9762;&#x601D;&#x8003;&#x9898;&#x7684;&#x56DE;&#x7B54;</li>
<li>&#x58F0;&#x660E;&#x4F60;&#x53C2;&#x8003;&#x4EE5;&#x53CA;&#x590D;&#x7528;&#x4E86;&#x8C01;&#x7684;&#x4EE3;&#x7801;</li>
</ul>
<p><strong>&#x665A;&#x4EA4;&#x6263;&#x5206;&#x89C4;&#x5219;</strong> &#x662F;&#xFF1A;</p>
<ul>
<li>&#x665A;&#x4EA4; n &#x5929;&#xFF0C;&#x5219;&#x6263;&#x9664; n/15 &#x7684;&#x5206;&#x6570;&#xFF0C;&#x6263;&#x5B8C;&#x4E3A;&#x6B62;&#x3002;&#x4F8B;&#x5982;&#xFF0C;&#x665A;&#x4EA4;&#x4E09;&#x5929;&#xFF0C;&#x90A3;&#x4F60;&#x5F97;&#x5206;&#x5C31;&#x8981;&#x6298;&#x7B97; 80%&#x3002;</li>
</ul>
<h2 id="&#x5907;&#x6CE8;">&#x5907;&#x6CE8;</h2>
<blockquote id="fn_1">
<sup>1</sup>. &#x5173;&#x4E8E;&#x540D;&#x5B57;&#x7531;&#x6765;&#xFF0C;&#x5F80;&#x5E74;&#x5B9E;&#x9A8C;&#x53EB; Decaf&#xFF0C;&#x6240;&#x4EE5;&#x4ECA;&#x5E74;&#x5C31;&#x53EB; MiniDecaf &#x4E86;&#x3002;&#x4E0D;&#x8FC7;&#x4E8B;&#x5B9E;&#x4E0A;&#x73B0;&#x5728;&#x7684; MiniDecaf &#x548C;&#x539F;&#x6765;&#x7684; Decaf &#x6CA1;&#x6709;&#x4EFB;&#x4F55;&#x5173;&#x7CFB;&#x3002;<a href="#reffn_1" title="Jump back to footnote [1] in the text."> &#x21A9;</a>
</blockquote>

                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                
                <a href="docs/log.html" class="navigation navigation-next navigation-unique" aria-label="Next page: 更新日志">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"实验简介","level":"1.1","depth":1,"next":{"title":"更新日志","level":"1.2","depth":1,"path":"docs/log.md","ref":"docs/log.md","articles":[]},"dir":"ltr"},"config":{"gitbook":"*","theme":"default","variables":{},"plugins":["hide-element","chapter-fold","katex","alerts","emphasize","mermaid-gb3","codeblock-label","code","search-pro","click-reveal","expandable-chapters-interactive","localized-footer"],"pluginsConfig":{"chapter-fold":{},"emphasize":{},"codeblock-label":{},"search-pro":{},"search":{},"localized-footer":{"filename":"gitalk.html","hline":"true"},"lunr":{"maxIndexSize":1000000,"ignoreSpecialCharacters":false},"code":{"copyButtons":true},"hide-element":{},"katex":{},"fontsettings":{"theme":"white","family":"sans","size":1},"click-reveal":{},"highlight":{},"mermaid-gb3":{},"expandable-chapters-interactive":{},"alerts":{},"sharing":{"facebook":true,"twitter":true,"google":false,"weibo":false,"instapaper":false,"vk":false,"all":["facebook","google","twitter","weibo","instapaper"]},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"}},"file":{"path":"README.md","mtime":"2020-09-02T07:27:37.403Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2020-09-08T05:38:47.833Z"},"basePath":".","book":{"language":""}});
        });
    </script>
</div>

        
    
    <script src="gitbook/gitbook.js"></script>
    <script src="gitbook/theme.js"></script>
    
        
        <script src="gitbook/gitbook-plugin-hide-element/plugin.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-chapter-fold/chapter-fold.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-alerts/plugin.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-mermaid-gb3/book/plugin.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-code/plugin.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-search-pro/jquery.mark.min.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-search-pro/search.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-click-reveal/click_reveal.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-expandable-chapters-interactive/expandable-chapters.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-search/search-engine.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-search/search.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-lunr/lunr.min.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-lunr/search-lunr.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-sharing/buttons.js"></script>
        
    
        
        <script src="gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    <script src="gitbook/gitbook-plugin-mermaid-gb3/mermaid/mermaid.min.js"></script>

    </body>
</html>

